Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not attempt to destroy not persisted session #72

Merged
merged 1 commit into from
Sep 3, 2014

Conversation

a-chernykh
Copy link

Otherwise Sequel is raising error like this:

(Sequel::NoExistingObject) "Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "sessions" WHERE ("id" IS NULL))"

Otherwise Sequel is raising error like this:

(Sequel::NoExistingObject) "Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM \"sessions\" WHERE (\"id\" IS NULL))"
@JonathanTron
Copy link
Member

Thanks for this fix!

JonathanTron added a commit that referenced this pull request Sep 3, 2014
Do not attempt to destroy not persisted session
@JonathanTron JonathanTron merged commit 5496d90 into TalentBox:master Sep 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants